/*
 * VendorProductBO.java
 *
 * Created on March 29, 2007, 10:48 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package edu.byu.isys413.jjenkins.data;

/**
 * A vendorproductBO
 * @author Rick
 */
public class VendorProductBO extends BusinessObject{
    private String vendorId;
    private String productId;
    private double price;
    
    /** Creates a new instance of VendorProductBO */
    public VendorProductBO() {
    }

    /**
     * getter
     * @return id
     */
    public String getVendorId() {
        return vendorId;
    }

    /**
     * setter
     * @param vendorId id
     */
    public void setVendorId(String vendorId) {
        this.vendorId = vendorId;
        setDirty(true);
    }

    /**
     * getter
     * @return product id
     */
    public String getProductId() {
        return productId;
    }

    /**
     * setter
     * @param productId prodid to set to
     */
    public void setProductId(String productId) {
        this.productId = productId;
        setDirty(true);
    }

    /**
     * 
     * getter
     * @return price
     */
    public double getPrice() {
        return price;
    }

    /**
     * setter
     * @param price new price
     */
    public void setPrice(double price) {
        this.price = price;
        setDirty(true);
    }
    
}
